Sublinear Time and Space Algorithms 2016B – Lecture 7 Sublinear-Time Algorithms for Sparse Graphs∗
نویسنده
چکیده
Problem definition: Input: A graph represented (say) as the adjacency list for each vertex (or even just the degree of each vertex) Goal: Compute the average degree (equiv. number of edges) Concern: Seems to be impossible e.g. if all degrees ≤ 1, except possibly for a few vertices whose degree is about n. Theorem 1 [Feige, 2004]: There is an algorithm that estimates the average degree d of a connected graph within factor 2 + ε in time O((1ε ) O(1) √ n/d0), given a lower bound d0 ≤ d and ε ∈ (0, 1). We will prove the case of d0 = 1 (i.e., suffices to know G is connected). Algorithm: 1. Choose a set S by choosing at random s = c √ n/εO(1) vertices, and compute the average degree dS of these vertices. 2. Repeat the above 8/ε times, and report the smallest seen dS . Analysis: We will need 2 claims. Claim 1a: In each iteration, Pr[dS < ( 1 2 − ε)d] ≤ ε/64. Claim 1b: In each iteration, Pr[dS > (1 + ε)d] ≤ 1− ε/2. Proof of theorem: Follows easily from the two claims, as seen in class. Proof of Claim 1b: Follows from Markov’s inequality, as seen in class. Proof of Claim 1a: Was seen in class. Here we really used the fact the degrees form a graph. ∗These notes summarize the material covered in class, usually skipping proofs, details, examples and so forth, and possibly adding some remarks, or pointers. The exercises are for self-practice and need not be handed in. In the interest of brevity, most references and credits were omitted.
منابع مشابه
Simple Examples of Sublinear-time Algorithms for Graphs 1.1 Definitions
For sublinear-time algorithms, it is crucial how input is represented and accessed. Depending on input representation and queries allowed, we might or might not be able to solve a given problem in sublinear time. In addition, in the property testing model, the correctness guarantee of the algorithm depends on the distance between objects, which is typically normalized by the size of the input. ...
متن کاملSTCON in Directed Unique-Path Graphs
We study the problem of space-efficient polynomial-time algorithms for directed stconnectivity (STCON). Given a directed graph G, and a pair of vertices s, t, the STCON problem is to decide if there exists a path from s to t in G. For general graphs, the best polynomial-time algorithm for STCON uses space that is only slightly sublinear. However, for special classes of directed graphs, polynomi...
متن کاملSublinear Algorithms for MAXCUT and Correlation Clustering
We study sublinear algorithms for two fundamental graph problems, MAXCUT and correlation clustering. Our focus is on constructing core-sets as well as developing streaming algorithms for these problems. Constant space algorithms are known for dense graphs for these problems, while Ω(n) lower bounds exist (in the streaming setting) for sparse graphs. Our goal in this paper is to bridge the gap b...
متن کاملPrinciples of Distributed Computing 04 / 12 , 2017 Lecture
In this lecture, we discuss sublinear-time centralized algorithms for graph problems. As we shall see soon, the core part of these algorithms is a local procedure, quite similar to the LOCAL distributed algorithms that we have been discussing over the past few lectures. Sublinear-time (centralized) algorithms are gaining importance with the constant increase in the size of the graph problems th...
متن کاملSeminar on Sublinear Time Algorithms: Testing Bipartiteness in Bounded Degree Graphs
Overview • Testing bipartiteness in sparse graphs • In dense graphs: Upperbound of poly(1) [1] – Sample vertices at random and test if their induced subgraph is bi-partite [No proof] • In sparse graphs we will see: – Upperbound of O(√ n · poly((lg n)//) [2] * We will analyze only the simple case of rapidly mixing graphs * Algorithm works much the say way for general graphs
متن کامل